package com.tenebrous.jestic.mapper.idao.framwork.system;

import com.tenebrous.jestic.entity.framwork.system.SysLogLogin;
import com.tenebrous.jestic.mapper.ISuperMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface SysLogLoginMapper extends ISuperMapper<SysLogLogin> {

    List<SysLogLogin> selectByCondition(@Param("loginName") String loginName);

    @Delete("DELETE FROM SYS_LOG_LOGIN")
    int deleteAll();
}